package com.wk.net.heartbeat.handler;

/**
 * 数据对象：已解析的心跳信号，供心跳处理程序处理。内容：<br>
 * 1.描述心跳的来源<br>
 * 2.携带心跳的内容
 * 
 * @author Bai Yu
 *
 * @param <HeartbeatType>
 */
public class ParsedHeartbeatMessage<HeartbeatType> {
	public ParsedHeartbeatMessage(String source, boolean isSourceObserved, HeartbeatType heartbeat) {
		this.source = source;
		this.isSourceObserved = isSourceObserved;
		this.heartbeat = heartbeat;
	}

	public String source;
	public boolean isSourceObserved;
	public HeartbeatType heartbeat;
}
